<template>
	<view class="">
		<view class="sxneir">
			<image src="../../static/ad.png" mode="" class="ad"></image>
			<view class="title">
				339旋转餐厅.秋季钜惠.周末节假日适用
			</view>
			<view class="introduce">
				【339旋转餐厅.周末节假日适用】西部第一高塔云端旋转自助
				餐厅!城市的地标打卡点！俯瞰万家灯火，独享云
			</view>
			<view class="btnbox">
				<view class="letfbox">
					<text class="danwei">￥</text>
					<text class="price">20.00</text>
					<text class="delprice">门市价￥180</text>
					<text class="xiaoliang">销量：100</text>
				</view>
				<view class="rightbox">
					<image src="../../static/share.png" mode=""></image>
					<text>分享</text>
				</view>
			</view>
			<view class="qgz">
				抢购中
			</view>
		</view>
	</view>
</template>

<script>
</script>

<style lang="scss" scoped>
	.sxneir {
		width: 700rpx;
		border-top-left-radius: 20rpx;
		border-top-right-radius: 20rpx;
		margin-left: 25rpx;
		margin-top: 33rpx;
		background-color: #FFF;
		margin-bottom: 10rpx;
		padding-bottom: 23rpx;
		box-sizing: border-box;
		position: relative;
	
		.qgz {
			position: absolute;
			width: 106rpx;
			height: 44rpx;
			background-color: #00af48;
			border-radius: 20rpx;
			text-align: center;
			line-height: 44rpx;
			font-family: MicrosoftYaHei;
			font-size: 24rpx;
			color: #ffffff;
			top: 280rpx;
			right: 14rpx;
			
		}
	
		.ad {
			width: 700rpx;
			height: 343rpx;
			border-top-left-radius: 20rpx;
			border-top-right-radius: 20rpx;
		}
	
		.title {
			font-family: MicrosoftYaHei-Bold;
			font-size: 30rpx;
			color: #222222;
			font-weight: 700;
			margin-top: 15rpx;
			margin-left: 20rpx;
		}
	
		.introduce {
			margin-top: 10rpx;
			font-family: MicrosoftYaHei;
			font-size: 24rpx;
			line-height: 38rpx;
			color: #444444;
			overflow: hidden; //超出隐藏
			text-overflow: ellipsis; //超出使用省略号
			display: -webkit-box;
			-webkit-line-clamp: 2; //第几行
			-webkit-box-orient: vertical;
			width: 670rpx; //根据需要自定义设置
			margin-left: 20rpx;
		}
	
		.btnbox {
			display: flex;
			justify-content: space-between;
			margin-left: 20rpx;
			margin-right: 20rpx;
			margin-top: 30rpx;
	
	
			.letfbox {
				.danwei {
					font-size: 22rpx;
					font-family: AdobeHeitiStd-Regular;
					line-height: 52rpx;
					color: #f73f33;
				}
	
				.price {
					font-family: AdobeHeitiStd-Regular;
					font-size: 36rpx;
					letter-spacing: 0rpx;
					color: #f73f33;
				}
	
				.delprice {
					font-family: MicrosoftYaHei;
					font-size: 22rpx;
					font-weight: normal;
					letter-spacing: 0rpx;
					color: #666666;
					text-decoration: line-through;
					margin-left: 10rpx;
				}
	
				.xiaoliang {
					font-family: MicrosoftYaHei;
					font-size: 22rpx;
					font-weight: normal;
					letter-spacing: 0rpx;
					color: #666666;
					margin-left: 20rpx;
				}
			}
	
			.rightbox {
				display: flex;
				align-items: center;
				width: 156rpx;
				height: 44rpx;
				background-color: #f73f33;
				border-radius: 22rpx;
				padding-left: 29rpx;
				box-sizing: border-box;
	
				image {
					width: 32rpx;
					height: 32rpx;
				}
	
				text {
					font-family: MicrosoftYaHei;
					font-size: 28rpx;
					color: #ffffff;
					margin-left: 10rpx;
				}
			}
		}
	}
</style>
